package com.yvan.idempotent;

/**
 * Created by Administrator on 2017/7/31.
 */
public class IdempotentRequestWrapper {

    private Object request;

    public IdempotentRequestWrapper(Object request) {
        synchronized (this) {
            this.request = request;
        }
    }

    public Object getRequest() {
        return request;
    }

    public void setRequest(Object request) {
        synchronized (this) {
            this.request = request;
        }
    }
}
